const getters={
    sidebar: (state) => state.app.sidebar,
    account: state => state.user.account,
    username: state => state.user.username,
    type: state => state.user.type,//权限 1 超级管理员 2 普通管理员
    token: state => state.user.token,//token 令牌,登录成功后，由后台颁发
    locale: state => state.lang.locale//默认的语言集
}
export default getters;